package com.yhb.demo.service;

import com.yhb.demo.beans.UserInfo;
import org.springframework.stereotype.Service;

import java.util.List;

public interface IUserService {
    public UserInfo getUserById(int id);
    public UserInfo getUserByCardno(String cardno);
    public int insertUser(String cardno,String psname);
    public List<UserInfo> getAllUser();

    public int deleteById(int id);
    public int updateById(int id,String cardno,String psname);

}
